import request from '../utils/request'
export function list(params) {
    return request({
        url:'/msgPush/list',
        method:'get',
        params:params
    })
}
export function conversation(params) {
    return request({
        url:'/msgPush/conversation',
        method:'get',
        params:params
    })
}
export function markAsRead(data){
    return request({
        url: '/msgPush/markAsRead',
        data: data,
        method: 'POST',
    })
}

export function unReadCount(){
    return request({
        url: '/msgPush/unReadCount',
        method: 'POST',
    })
}

export function update(data){
    return request({
        url: '/msgPush/update',
        data: data,
        method: 'POST',
    })
}

